package com.brainshare.common.enums;

/**
 * 埋点路径枚举
 * @author wll
 */
public enum BuriedPointPathEnum {
    /**
     * 外部链接
     */
    LINK_CARD_LINK_SHARE(1,"外部链接", 1,"卡片链接",1,"点击分享"),
    LINK_DETAIL_LOOK(1,"外部链接", 2,"外部链接详情",1,"查看详情"),
    /**
     * 登陆
     */
    LOGIN_LOGIN_SUCCESS(2,"登陆", 1,"登陆",1,"登陆成功"),
    LOGIN_LOGIN_FAIL(2,"登陆", 2,"登陆",1,"登陆失败"),
    /**
     * 首页
     */
    INDEX_BANNER_ENTRANCE(3,"首页", 1,"BANNER",1,"首页BANNER入口"),
    INDEX_BANNER_RULE_AN(3,"首页", 1,"BANNER",2,"规则介绍我要筛查"),
    INDEX_BANNER_RULE_SHARE(3,"首页", 1,"BANNER",3,"规则介绍分享"),
    INDEX_INDEX_AN(3,"首页", 2,"首页",1,"筛查入口"),
    INDEX_INDEX_COMPLETE_AN(3,"首页", 2,"首页",2,"完成筛查弹窗提示"),
    /**
     * 信息填写
     */
    INFO_WITHDRAWAL_CARD_ADD(4,"信息填写", 1,"提现卡点亮页",1,"获取提现卡"),
    INFO_WITHDRAWAL_CARD_RECEIVE(4,"信息填写", 1,"提现卡点亮页",2,"使用提现卡"),
    INFO_WITHDRAWAL_CARD_SUCCESS(4,"信息填写", 1,"提现卡点亮页",3,"提现成功"),
    INFO_WITHDRAWAL_CARD_FAIL(4,"信息填写", 1,"提现卡点亮页",4,"提现失败"),
    INFO_RED_PACKET_ADD(4,"信息填写", 2,"红包点亮页",1,"获取红包"),
    INFO_RED_PACKET_MONEY(4,"信息填写", 2,"红包点亮页",2,"查看红包额度"),
    INFO_RED_PACKET_REMIND_MONEY(4,"信息填写", 2,"红包点亮页",3,"剩余金额信息提醒"),
    /**
     * 测评筛查
     */
    AN_EXERCISE_GROUP1_ADD(5,"测评筛查", 1,"第一组题",1,"获取提现卡"),
    AN_EXERCISE_GROUP1_RECEIVE(5,"测评筛查", 1,"第一组题",2,"使用提现卡"),
    AN_EXERCISE_GROUP2_ADD(5,"测评筛查", 2,"第二组题",1,"获取提现卡"),
    AN_EXERCISE_GROUP2_RECEIVE(5,"测评筛查", 2,"第二组题",2,"使用提现卡"),
    AN_EXERCISE_GROUP3_MONEY(5,"测评筛查", 3,"第三组题",1,"红包额度"),
    AN_EXERCISE_GROUP3_REMIND_MONEY(5,"测评筛查", 3,"第三组题",2,"剩余金额信息提醒"),
    /**
     * 我的
     */
    ME_AN_DETAIL_CAMP(6,"我的", 1,"筛查结果",1,"详情页训练营"),
    ME_AN_DETAIL_SHARE(6,"我的", 1,"筛查结果",2,"详情页分享"),
    ME_AN_ENTRANCE(6,"我的", 1,"筛查结果",3,"筛查入口"),
    /**
     * 进训练营
     */
    TRAIN_QR_CODE_COMPLETE_AN(7,"进训练营", 1,"二维码",1,"筛查已完成弹窗"),
    TRAIN_QR_CODE_LOOK_RESULT(7,"进训练营", 1,"二维码",2,"查看筛查结果");

    private final int sectionCode;
    private final String sectionDesc;
    private final int moduleCode;
    private final String moduleDesc;
    private final int functionCode;
    private final String functionDesc;

    BuriedPointPathEnum(int sectionCode, String sectionDesc, int moduleCode, String moduleDesc, int functionCode, String functionDesc) {
        this.sectionCode = sectionCode;
        this.sectionDesc = sectionDesc;
        this.moduleCode = moduleCode;
        this.moduleDesc = moduleDesc;
        this.functionCode = functionCode;
        this.functionDesc = functionDesc;
    }

    public int getSectionCode() {
        return sectionCode;
    }

    public String getSectionDesc() {
        return sectionDesc;
    }

    public int getModuleCode() {
        return moduleCode;
    }

    public String getModuleDesc() {
        return moduleDesc;
    }

    public int getFunctionCode() {
        return functionCode;
    }

    public String getFunctionDesc() {
        return functionDesc;
    }
}
